package com.lanswon.qzsmk.model;

import java.io.Serializable;

public class ModelBasic implements Serializable {
    /** 模块ID */
    private Integer modelId;

    /** 系统ID */
    private Integer sysId;

    /** 名称 */
    private String modelName;

    /** 说明 */
    private String description;

    /** 链接 */
    private String modelUrl;

    /** 参数 */
    private String parameter;

    /** 类别 */
    private String classicName;

    /** 上级模块ID */
    private Integer fatherId;

    /** 顺序号 */
    private String sequence;

    private static final long serialVersionUID = 1L;

    public Integer getModelId() {
        return modelId;
    }

    public void setModelId(Integer modelId) {
        this.modelId = modelId;
    }

    public Integer getSysId() {
        return sysId;
    }

    public void setSysId(Integer sysId) {
        this.sysId = sysId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName == null ? null : modelName.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getModelUrl() {
        return modelUrl;
    }

    public void setModelUrl(String modelUrl) {
        this.modelUrl = modelUrl == null ? null : modelUrl.trim();
    }

    public String getParameter() {
        return parameter;
    }

    public void setParameter(String parameter) {
        this.parameter = parameter == null ? null : parameter.trim();
    }

    public String getClassicName() {
        return classicName;
    }

    public void setClassicName(String classicName) {
        this.classicName = classicName == null ? null : classicName.trim();
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public String getSequence() {
        return sequence;
    }

    public void setSequence(String sequence) {
        this.sequence = sequence == null ? null : sequence.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", modelId=").append(modelId);
        sb.append(", sysId=").append(sysId);
        sb.append(", modelName=").append(modelName);
        sb.append(", description=").append(description);
        sb.append(", modelUrl=").append(modelUrl);
        sb.append(", parameter=").append(parameter);
        sb.append(", classicName=").append(classicName);
        sb.append(", fatherId=").append(fatherId);
        sb.append(", sequence=").append(sequence);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}